package com.mdd.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("用户余额记录实体")
@TableName("legal_money_record")
public class LegalMoneyRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.AUTO)
    @ApiModelProperty(value = "")
    private Long id;

    @ApiModelProperty(value = "")
    private Long aId;

    @ApiModelProperty(value = "")
    private Long userId;

    @ApiModelProperty(value = "")
    private Long caseId;

    @ApiModelProperty(value = "1-佣金收入 2-支出")
    private Integer type;

    @ApiModelProperty(value = "1-律师 2-合伙人 3-平台 4-管理公司 5-推荐人")
    private Integer fyType;

    @ApiModelProperty(value = "")
    private Long amount;

    @ApiModelProperty(value = "")
    private Long nowAmount;

    @ApiModelProperty(value = "")
    private Long createTime;

    @ApiModelProperty(value = "")
    private Long updateTime;

    @ApiModelProperty(value = "")
    private Long deleteTime;

}